package com.ruoyi.util;

public enum ResultEnum {
    register("恭喜您完成register接口，下个接口Login，URL：\n" +
            "POST http://152.136.255.110:8080/app/user/api/login" +"\n"+
            "请求参数"+"\n"+
            "Body 请求参数:"+"\n"+
            "{\n" +
            "\t\"userName\": \"32209990\",\n" +
            "\t\"password\": \"123456\"\n" +
            "}"+"\n"+
            "成功（200）"+"\n"+
            "{\n" +
            "\t\"msg\": \"操作成功\",\n" +
            "\t\"classesId\": 110,\n" +
            "\t\"code\": 200,\n" +
            "\t\"userName\": \"32209990\",\n" +
            "\t\"nickName\": \"测试\",\n" +
            "\t\"userId\": 3\n" +
            "}"+"\n"+
            "失败（500）"+"\n"+
            "{\n" +
            "\t\"msg\": \"登录失败\",\n" +
            "\t\"code\": 500\n" +
            "}"+"\n");

    private final String res;
    private ResultEnum(String res){
        this.res=res;
    }
    public String getString(){
        return res;
    }
}
